package com.hyou.sc.eureka.client.auth.dto.form;

import javax.validation.constraints.NotBlank;

import com.hyou.springboot.base.BaseForm;

/**
 * 鉴权请求对象
 * 
 * @author FengChangshuo
 * @version 1.0.0 2018-04-20 15:51:07 初始创建
 */
public class AuthForm extends BaseForm {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -2463801391726913969L;
    
    /**
     * 用户ID
     */
    @NotBlank(message = "用户ID不能为空")
    private String uid;
    
    /**
     * 请求URL
     */
    @NotBlank(message = "请求URL不能为空")
    private String url;

    /**
     * @return 用户ID
     */
    public String getUid() {
        return this.uid;
    }

    /**
     * @param uid 用户ID
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    /**
     * @return 请求URL
     */
    public String getUrl() {
        return this.url;
    }

    /**
     * @param url 请求URL
     */
    public void setUrl(String url) {
        this.url = url;
    }
    
}
